package com.leyou;


import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringCloudApplication
//@EnableDiscoveryClient //此注解可以不添加
@EnableFeignClients(basePackages = "com.leyou.auth.client")
public class LyGateway {
    public static void main(String[] args) {
        SpringApplication.run(LyGateway.class, args);
        System.out.println("网关启动了");
    }
}
